package com.kaifamiao.async;

public class Test {

    public static void main(String[] args) {

        Account account = new Account();
        account.name = "张无忌";
        account.balance = 1000;
        account.enough = true;

        long amount = 800;

        DepositTask.launch( "殷天正", account, amount );
        WithdrawTask.launch( "曾阿牛", account, amount );
        WithdrawTask.launch( "殷离(珠儿)", account, amount );

    }

}
